<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="聊天界面.css">
    <title>半行诗</title>
</head>
<body>
    
    <main>
        <div class="main">
            <div class="partner1">
                    <div class="name">name</div>
            </div>
            <div class="partner2">
                    <div class="name">name</div>
            </div>
            <!-- 聊天界面 -->
            <div class="chat-container">
                <!-- 聊天头部 -->
                <div class="chat-header">
                    <i class="fa fa-heartbeat logo-icon"></i>
                
                    <div class="search-container">
                        <div class="search-box">    
                            <i class="fa fa-search search-icon"></i>
                            <input type="text" placeholder="搜索..." class="search-input">
                        </div>
                    </div>
                    <div class="head-right">
                        <i id="bell" class="fa fa-bell notification-icon" ></i>
                        <i class="fa fa-video-camera camera-icon"></i>
                        <i class="fa fa-volume-control-phone phone-icon"></i>
                    </div>
                </div>
                <!--气泡-->
                <div class="chat-box">
                    <!--系统提示-->
                    <div class="item system">
                        下午 12:00
                    </div>
                    <!--对方消息-->
                    <div class="item message-in">
                        <i class="fa fa-user-circle-o profile-icon"></i>
                        <div class="chat-bubble-left"></div>
                        
                    </div>
                    
                    <!--自己消息-->
                    <div class="item message-out">
                        <div class="chat-bubble-right">聊天内</div>
                    </div>
                    
                </div>
                <div class="chat-input-box">
                    <i class="fa fa-smile-o smile-icon"></i>
                    <textarea class="chat-input" placeholder="输入消息..." rows="2"></textarea>
                    <button class="chat-button">发送</button>
                </div>
            </div>
        </div>
    </main>
</body>
</html> 
<script type="text/javascript" src="聊天界面.js"></script>                                                                                  